<!---
	Copyright 2010 Edward Trudeau, Jeremy Battle
    This software is freely available under the MIT License: http://www.opensource.org/licenses/mit-license.php
    http://ayc.googlecode.com
    
--->

<cfcomponent name="QuestionService" output="false" extends="_QuestionService">
	
    <cfset variables.objectInstance = structNew() />	

	<cffunction name="init" access="public" output="false" returntype="QuestionService">
		<cfargument name="QuestionDAO" type="QuestionDAO" required="true" />
		<cfargument name="QuestionGateway" type="QuestionGateway" required="true" />

		<cfset super.init(arguments.QuestionDAO, arguments.QuestionGateway) />

		<cfreturn this/>
	</cffunction>
    
    <cffunction name="getGateway" access="public" output="false" returntype="QuestionGateway">
    	<cfreturn variables.QuestionGateway />
    </cffunction>
    
    
    <cffunction name="getDAO" access="public" output="false" returntype="QuestionDAO">
    	<cfreturn variables.QuestionDAO />
    </cffunction>
</cfcomponent>


